package com.qk.mangement.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.qk.entity.Activity;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * Date:2025/10/11
 * Author:zxc
 * Description
 */
@Mapper
public interface ActivityMapper extends BaseMapper<Activity> {
    void deleteById(Integer id);

    void addCourse(Activity activity);

    Activity queryById(Integer id);

    void updateActivity(Activity activity);

    List<Activity> queryByType(Integer type);

}
